<!DOCTYPE html>
<html>

<head th:include="cultivateWeb/header :: culHeaderCss">
</head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/certificateWeb/workNews/workNews.css">
<link type="text/css" href="/css/cultivateWeb/style/my.css" rel="stylesheet">
<link href="../static/css/bootstrap.min.css" rel="stylesheet">

<body>
    <!-- 顶部导航 -->
    <header th:include="cultivateWeb/header :: header"></header>
    <div style="clear: both"></div>
    <div style="background-color: #f7f7f7; ">
        <div class="container">
            <div class="row">
                <div class="layui-container">
                    <p style="line-height: 40px">当前位置：<a href="/cultivate/homepage">首页</a> > 个人资料</p>
                </div>
                <hr style="margin: 0 auto ;" />

                <section style="display:flex;background:#F7F7F7;padding-top: 0">
                    <div class="personal_data col-xs-3">
                        <ul id="personal_data">
                            <li class="this"><a href="/cultivate/my">个人资料</a></li>
                            <li><a href="/cultivate/myOrder">我的订单</a></li>
<!--                            <li><a href="/cultivate/myClasss/myClasss">我的班级</a></li>-->
                            <li><a href="/cultivate/myCourse">我的课程</a></li>
                            <li><a href="/cultivate/myCoursePlan">我的课程计划</a></li>
                            <li><a href="/cultivate/studyRecord">学习记录</a></li>
                            <li onclick="recruit()"><a>我的简历</a></li>
                            <li><a href="/cultivate/deliverRecord">投递记录</a></li>
                            <li><a href="/cultivate/applyRecord">申请记录</a></li>
                            <li><a href="/cultivate/myMessage">消息中心</a></li>
                            <li><a href="/cultivate/myCertificates">我的证书</a></li>
                            <li onclick="mock2(this)" data-type="2"><a>幼儿照护初级模拟考试</a></li>
                <li onclick="mock2(this)" data-type="1"><a>幼儿照护中级模拟考试</a></li>
                <li onclick="mock2(this)" data-type="0"><a>幼儿照护高级模拟考试</a></li>
                        </ul>
                    </div>
                    <div class="personal_data1 col-xs-9">
                        <label class="label_title">个人信息</label>
                        <label style="float: right; font-size: 14px; margin:15px 5px 0 0">
                            <a href="/cultivate/editMy">
                                <input type="button" value="编辑资料"
                                    style="background:#fe7252;cursor: pointer; border: 0; color: white; width: 95px; height: 30px; border-radius: 3px" />
                            </a>
                        </label>
                        <hr />
                        <div id="info"></div>
                    </div>
                    <div style="clear: both"></div>
                </section>
                <!-- <div style="display: none;" id="content">
                    <span class="jl_xx_2">姓&nbsp;&nbsp;名<span style="color: #d52525">*</span>：
                        <input class="jl_ipt" style="height: 40px;width: 225px" type="text" id="nativePlace"/>
                    </span>
                    <span class="jl_xx_2">毕业学校<span style="color: #d52525">*</span>：
                        <input class="jl_ipt" style="height: 40px;width: 225px" type="text" id="graduatedFrom"/>
                    </span>
                    <span class="jl_xx_2">专业<span style="color: #d52525">*</span>：
                        <input class="jl_ipt" style="height: 40px;width: 225px" type="text" id="desiredOccupation"/>
                    </span>
                    <span class="jl_xx_2">联系电话<span style="color: #d52525">*</span>：
                        <input class="jl_ipt" style="height: 40px;width: 225px" id="expectedSalary" type="text"/>
                    </span>
                    <span class="jl_xx_2">不需要推荐的理由<span style="color: #d52525">*</span>：
                    <textarea style="height:60px " type="text" id="reason" name="reason"
                    class="form-control inp_1"></textarea>
                    </span>
                    </div> -->
            </div>
        </div>
    </div>

    <!-- footer ------------------------------------------------------- -->
    <div class="footer" th:include="cultivateWeb/header :: footer"></div>
</body>
<script src="/js/layui/layui.js"></script>
<script src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/mobile.js"></script>
<script>
    $(function () {

        ajaxToken("/jzApi/user/selUserDetail", "GET", {}, function (res) {
            var res = JSON.stringify(res);
            res = res.replace(/null/g, '""');
            res = JSON.parse(res);
            var sex = '', type = '';
            if (res.sex == 1) {
                sex = '男'
            }
            if (res.sex == 2) {
                sex = '女'
            }
            if (res.sex == 0) {
                sex = '未知'
            }
            if (res.type == 1) {
                type = '机构会员'
            }
            if (res.type == 2) {
                type = '运营会员'
            }
            if (res.type == 0) {
                type = '个人会员'
            }
            var a = '    <div class="my_div ">' +
                '            <span class="my_1"><img src="' + res.headPortrait + '" style="width: 147px;height: 206px;" /></span>' +
                '            <div style="display: flex;flex-direction: column;">' +
                '                <span class="my_2" style="margin-top:20px">用户名：<span>' + res.username + '</span></span>' +
                '                <span class="my_2">真实姓名：<span>' + res.name + '</span></span>' +
                '                <span class="my_2">手机号：<span>' + res.mobile + '</span></span>' +
                '                <span class="my_2">性别：<span>' + sex + '</span></span>' +
                '                <span class="my_2">出生年月：<span>' + res.dateOfBirth + '</span></span>' +
                '                <span class="my_2" style="height: 60px">所属机构：<span>' + res.orgName + '</span></span>' +
                '                <span class="my_2">邮箱：<span>' + res.email + '</span></span>' +
                // '                <span class="my_2">爱好：<span>' + res.hobby + '</span></span>' +
                '                <span class="my_2">QQ：<span>' + res.qq + '</span></span>' +
                '                <span class="my_2">类型：<span>' + type + '</span></span>' +
                '                <span class="my_2">民族：<span>' + res.nation + '</span></span>' +
                '                <span class="my_2">所在省市区：<span>' + res.province + res.city + res.district + '</span></span>' +
                '                <span class="my_2" style="height: 60px">现居详细地址：<span>' + res.liveAddress + '</span></span>' +
                '                <span class="my_2">学历：<span>' + res.education + '</span></span>' +
                '                <span class="my_2">专业：<span>' + res.major + '</span></span>' +
                '                <span class="my_2">政治面貌：<span>' + res.politicalAffiliation + '</span></span>' +
                '                <span class="my_2">职务职称：<span>' + res.officialCapacity + '</span></span>' +
                '                <span class="my_2">学习、工作经历：<span>' + res.experience + '</span></span>' +
                '            </div>' +
                '        </div> <div style="clear: both"></div>';
            $("#info").html(a)
        });
    })


</script>

</html>